home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: DLL problem
- Date: 4 Mar 1996 11:49:57 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4held5$k99@news1.usa.pipeline.com>
- References: <Pine.A32.3.91.960303104028.13352A-100000@ho15.eng.ua.edu>
- NNTP-Posting-Host: pipe5.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 03, 1996 16:47:47 in article <DLL problem>, 'Tong Li
- <tli@ho15.eng.ua.edu>' wrote:
-
-
- >
- >I'm still using Borland C++ 3.1 for windows. When I try to make a DLL
- >using c programs which were developed several years ago, the compiler
- >told me that there are many variables which are not defined. All the
- >variable names are in capital letters. For example, if I have a variable
- >named 'atab', the compiler told me that 'ATAB' was not defined. What
- >happened? What whould I do with it?
- >
- The reason they're all upper case is because the functions are
- declared with the PASCAL keyword. (Actually PASCAL is a macro
- that expands to _pascal). But that may not have anything to
- do with your problem.
-
- Are the missing definitions in your DLL and you get this error when
- linking the import library into your main program? If so, then you're
- probably not using the _export keyword.
-
- If you're not using an import library, but are declaring the DLL's
- symbols in a module definition file, then it's a different story.
-
- If you haven't solved the problem by now, post a sample of one of
- the missing symbols with:
-
- How it's declared in the header file.
- How it's declared in the module definition file(s), if any.
- How it's defined in the DLL source code.
-
- Also mention how you're linking to the DLL, implib or module
- definition file only.
-
- Then, post the question to comp.os.ms-windows.programmer.
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-